﻿using System;

namespace DDDProjectSample.Domain.Services
{
    /// <summary>
    /// Use this service if you want send emails
    /// </summary>
    public interface IEMailSender
    {
        /// <summary>
        /// Sends an email
        /// </summary>
        /// <param name="from">Email adress of the sender</param>
        /// <param name="to">Email adress of the receiver</param>
        /// <param name="subject">Email's subject</param>
        /// <param name="body">Email's content</param>
        void SendMail(string from, string to, string subject, string body);
    }
}
